package com.freemarker.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <h3>freemarker</h3>
 * <p></p>
 *
 * @author gdw
 * @since 2024-07-25 14:44:31
 */
@Controller
public class IndexController {
    @RequestMapping("/index")
    public String index(Model model) {
        model.addAttribute("message","墨子");
        return "index";
    }
}
